package com.group3.dao;

import com.group3.domain.PersonalScores;
import com.group3.domain.PersonalScoresExample;
import java.util.List;
import java.util.Map;

import com.group3.pojo.result.PersonalScoresResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PersonalScoresMapper {
    long countByExample(PersonalScoresExample example);

    int deleteByExample(PersonalScoresExample example);

    int insert(PersonalScores record);

    int insertSelective(PersonalScores record);

    List<PersonalScores> selectByExample(PersonalScoresExample example);
    //查询学生个人成绩
    List<PersonalScoresResult> selectByExample1(PersonalScoresExample example);

    int updateByExampleSelective(@Param("record") PersonalScores record, @Param("example") PersonalScoresExample example);

    int updateByExample(@Param("record") PersonalScores record, @Param("example") PersonalScoresExample example);

}